package com.tuzhi.convert.httpclient;

import com.dtflys.forest.annotation.*;
import com.tuzhi.common.domain.ResultBO;
import com.tuzhi.convert.dto.ProcessBoardRespiteDto;

import java.util.List;

@Address(host = "${host_process}", port = "${port_process}")
public interface ProcessApi {

    @Get("/process/processBoardRespite/getProcessBoardRespite?orderNo={orderNo}")
    ResultBO<List<ProcessBoardRespiteDto>> getProcessBoardRespite(@Var("orderNo") String orderNo);

    @Post("/process/processBoardRespite/updateStatus")
    ResultBO setStatus(@JSONBody ProcessBoardRespiteDto processBoardRespiteDto);

}
